mx6: add structs for mmdc and ddr iomux registers
authorTim Harvey <[email protected]>
Mon, 2 Jun 2014 23:13:22 +0000 (16:13 -0700)
committerStefano Babic <[email protected]>
Fri, 6 Jun 2014 08:07:25 +0000 (10:07 +0200)
commit8d05b161fc4633788bcad133efdf8d76fc40237f
treebd07a5e7faad3015e7eb2428599094a097d00461
parentb07161c321d9bc4ca5c610087b5d4e0566402d20
mx6: add structs for mmdc and ddr iomux registers

Add memory-mapped structures for MMDC iomux and configuration. Note that whi
the MMDC configuration registers are common between the IMX6DQ
(IMX6DUAL/IMX6QUAD) and IMX6SDL (IMX6SOLO/IMX6DUALLITE) types the iomux
registers differ. This requires two sets of structures.

Add structures to describe DDR3 device information, system information
(memory layout, etc), and MMDC calibration registers that can be used to
configure the MMDC dynamically.

We define these structures for SPL builds instead of including mx6q-ddr.h an
mx6dl-ddr.h which use the same namespace and are only useful for imximage cf
files.

Cc: Stefan Roese <[email protected]>
Cc: Otavio Salvador <[email protected]>
Cc: Andy Ng <[email protected]>
Cc: Eric Nelson <[email protected]>
Cc: Tapani Utriainen <[email protected]>
Cc: Tom Rini <[email protected]>
Signed-off-by: Tim Harvey <[email protected]>
Acked-by: Nikita Kiryanov <[email protected]>
arch/arm/include/asm/arch-mx6/mx6-ddr.h